/*
 * @Author: SummerSofts 2392862431@qq.com
 * @Date: 2023-12-30 15:14:22
 * @LastEditors: You星星还在吗 2392862431@qq.com
 * @LastEditTime: 2024-12-24 21:17:07
 * @FilePath: \combine\src\request\socket.js
 * @Description: 这是默认设置,请设置`customMade`, 打开koroFileHeader查看配置 进行设置: https://github.com/OBKoro1/koro1FileHeader/wiki/%E9%85%8D%E7%BD%AE
 */
import io from "socket.io-client";
let url1 = 'http://106.53.99.242:3000'
let url2 = "http://127.0.0.1:3000"
import {config} from './params.js'

const socket = io(url1, {
  transports: ["websocket"],
});

export default{
    install:(app) => {
      app.config.globalProperties['$socket'] = socket;
    }
  }